/* ************************************************************************* **
**                                                                           **
**                 Proprietary and Confidential Information                  **
**                                                                           **
**                Copyright (c) 2000 Oasis Semiconductor Inc.                **
**                                                                           **
**  This software contains proprietary and confidential material which is    **
**  property of Oasis Semiconductor Inc.                                     **
**                                                                           **
** ************************************************************************* */

#include "dbgapi.h"

struct DBGMON_API BMPImage {
  BMPImage(char *filename);
  BMPImage(FILE *fp);
  BMPImage(char *filename, unsigned imageType, unsigned width, unsigned height);
  BMPImage(FILE *fp, unsigned imageType, unsigned width, unsigned height);
  ~BMPImage();

  void GetImageLine(unsigned char* data);
  void PutImageLine(unsigned char* data);

  FILE *fp;
  unsigned write;
  unsigned imageType;
  unsigned width, height, scanline;
  unsigned lineSizeInBytes;

  unsigned char color_index[256][4];
};

enum {
  UNKNOWN = 0,
  BITONAL,
  GRAYSCALE,
  RGB24BIT
};

